﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IQueryable<Servicio>>" %>
<%@ Import Namespace="ArmaTuCumple.Model.Repository" %>
<script runat="server">

    protected void ListBox1_PreRender(object sender, EventArgs e)
    {
        foreach(var Servicio in Model){
           // ListBox1.Items.Add(Servicio);
        }
    }
</script>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	CarroDeCompras
    <script language="javascript" type="text/javascript" id="Cancelar">
// <![CDATA[


// ]]>
    </script>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <form id="form1" runat="server" style="height: 334px">
    <div style="height: 233px">
        Carro De Compras<asp:ListBox ID="ListBox1" runat="server" Height="236px" 
            Width="572px" onselectedindexchanged="ListBox1_SelectedIndexChanged" 
            onprerender="ListBox1_PreRender"></asp:ListBox>
        <input id="holi" style="height: 22px; width: 67px" type="button" text="Quitar"
            value="Quitar" onclick="return Button1_onclick()" 
            onclick="return holi_onclick()" /><input id="Button2" style="height: 23px" type="button" 
            value="Agregar otro" /><input id="Nuevo 3" style="height: 22px" type="button" 
            value="Cancelar" title="Cancelar" /></div>
    </form>

</asp:Content>
